package com.lou;




import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("con.lou.mapper")
public class App{
    public static void main( String[] args )
    {
    	SpringApplication.run(App.class, args);
//    	ConfigurableApplicationContext context=SpringApplication.run(App.class, args);
//    	System.out.println(context.getBean(ReadProperties.class).getName());
//    	context.getBean(User.class);
//    	System.out.println(context.getBean(ProductMapper.class).selectAll());
//    	Product Product =new Product();
//    	Product.setpId(UUID.randomUUID().toString());
//    	Product.setpName("挖掘机");
//    	Product.setpPrice(new Long(33));
//    	Product.setpType("汽车");
//    	context.getBean(ProductMapper.class).insertByZhujie(Product);
//    	context.close();
    }
}
